package com.itheima.test;

import java.time.*;
import java.time.format.DateTimeFormatter;

public class demo {
    public static void main(String[] args) {
        LocalDateTime pi = LocalDateTime.of(2017, 3, 14, 15, 9);
        DateTimeFormatter formatter = DateTimeFormatter
                .ofPattern("M.ddhhmm");
        System.out.println(formatter.format(pi));
    }
}
